home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Stolen Data 3
/
Stolen Data 3.adf
/
MAG-TEXT
/
CODE5a
< prev
next >
Wrap
Text File
|
1989-01-01
|
626b
|
31 lines
Move Scrollpt(a5),d0
Add Speed(a5),d0
Cmp #256,d0
Blt.s Noreset
Sub #256,d0 ;reset counter
Move.l Display(a5),d7 ;swap buffers
Move.l Update(a5),Display(a5)
Move.l d7,Update(a5)
Noreset
Move d0,d1
Move d0,Scrollpt(a5)
Lsr #4,d0
Add d0,d0
Move.l Display(a5),a0
Lea (a0,d0),a0
Move.l a0,d0
Move d0,Planelow
Swap d0
Move d0,Planehigh
etc...
Not d1
And #$0f,d1
Move d1,Scrollreg
Now we need to actually start
updating the buffers themselves. There
are two separate stages to creating the
new buffer: first copy the latter area